#pragma once



#include "../../C_单值矢量插座.h"




typedef struct {
	PyObject* m_目标物体;
	PyObject* m_轴向;
	PyObject* m_上方向;
	PyObject* m_目标Z轴;
	PyObject* m_影响系数;
}S_物体朝向修改器数据;







class C_插座物体朝向Array1D : public C_插座基类 {
public:
	C_插座物体朝向Array1D(std::string name);
	~C_插座物体朝向Array1D();

	S_物体朝向修改器数据	m_Value;

	void*		f_getData();
	void		f_setData(void* data, int64 ID = -1);
	PyObject*	f_bl_传入数据(PyObject* bl_data);
	PyObject*	f_输出_bl数据(PyObject* bl_data = 0);
	void		f_resize(uint32 size);

private:

};
#define DEF_转换为插座物体朝向Array1D插座(socket) dynamic_cast<C_插座物体朝向Array1D*>( (socket) )
#define DEF_转换为插座物体朝向Array1D插座数据(socket) ((S_物体朝向修改器数据*)(DEF_转换为插座物体朝向Array1D插座( (socket) )->f_getData()))

#define DEF_创建插座物体朝向Array1D_I(name) socket = new C_插座物体朝向Array1D( (name) ); f_add插座(socket, E_插座输出方向::e_插座Type_输入);
#define DEF_创建插座物体朝向Array1D_O(name) socket = new C_插座物体朝向Array1D( (name) ); f_add插座(socket, E_插座输出方向::e_插座Type_输出);




